package com.greensam.pixelengine.pojo.base;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author Macro_Ray
 * @since 2025/6/19 17:09
 */
@Data
@Schema(title = "通用的删除请求参数")
public class DeleteRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(title = "主键标识")
    @NotNull(message = "主键id不能为空")
    private Long id;
}
